//
//  TXFEmoticon.swift
//  weibo飞飞
//
//  Created by 田侠飞 on 16/7/5.
//  Copyright © 2016年 田侠飞. All rights reserved.
//

import UIKit

class TXFEmoticon: NSObject {

    
    var chs : String?
    
    var png : String?
    
    
    var code: String?
    
    var type: String?{
        didSet{
            
            if type == "0"{
            
            isEmoji = false
            }else{
            
            isEmoji = true
            
            }
     
        }
   
    
    }
    
    var path : String?
    
    var isEmoji: Bool = false
    
    init(dict: [String: AnyObject]) {
        
        super.init()
        
        self.setValuesForKeysWithDictionary(dict)
        
    }
    
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
}
